package com.xinhe.web.service;

import com.xinhe.web.entity.AdapayDistributor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdapayDistributorService {
    /*@Autowired
    private IAdapayDistributorDao adapayDistributorDao;

    public PageResult<AdapayDistributorView> pageAdapayDistributor(AdapayDistributorQuery query) {
        Integer total = Integer.valueOf(0);
        if (0 < query.getLimit().intValue()) {
            total = this.adapayDistributorDao.countAdapayDistributor(query);
        }
        List<AdapayDistributorView> views = null;
        if (0 < total.intValue() || 0 >= query.getLimit().intValue()) {
            views = this.adapayDistributorDao.pageAdapayDistributor(query);
        }
        if (0 >= query.getLimit().intValue()) {
            if (null == views) {
                total = Integer.valueOf(0);
            } else {
                total = Integer.valueOf(views.size());
            }
        }
        return new PageResult(total, views);
    }


    protected IBaseDao<AdapayDistributor> getRealDao() {
        return (IBaseDao<AdapayDistributor>)this.adapayDistributorDao;
    }*/
}
